package com.qd.common.panda.domain.entity.wallet.user;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户钱包充值统计
 *
 * @author sjk
 */
@Data
public class UserWalletRechargeLogStatisticsDTO {
    /**
     * 总金额
     */
    private BigDecimal allAmount;
    /**
     * 实际支付金额
     */
    private BigDecimal payAmount;
    /**
     * 赠送金额
     */
    private BigDecimal giveAmount;
    /**
     * 数量
     */
    private Long quantity;

    public void freeData() {
        this.allAmount = null;
        this.giveAmount = null;
        this.payAmount = null;
    }
}
